/* --------------------------------------------------------
 * Copyright (c) aeky , Inc.  All rights reserved.
 * --------------------------------------------------------
 */
package com.aeky.client.view.main;

import com.aeky.client.common.DemoEvents;
import com.aeky.client.mvc.AppEvent;
import com.aeky.client.mvc.Controller;

/**
 * 
 * @author aeky
 */
public class MainMenuController extends Controller {

    private MainMenuView view;

    public MainMenuController() {
        view = new MainMenuView(this);
        registerEventTypes(DemoEvents.INIT);
    }

    /*
     * @see
     * com.aeky.client.mvc.Controller#handleEvent(com.aeky.client.mvc.AppEvent)
     */
    @Override
    public void handleEvent(AppEvent event) {
        forwardToView(view, event);
    }

}
